local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1
L0_1 = {}
L0_1.group_id = 144004050
L1_1 = {}
L2_1 = {}
L2_1.config_id = 50001
L2_1.monster_id = 21030301
L3_1 = {}
L3_1.x = -236.064
L3_1.y = 123.788
L3_1.z = 102.161
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 172.166
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 20
L2_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L2_1.disableWander = true
L2_1.area_id = 103
L3_1 = {}
L3_1.config_id = 50002
L3_1.monster_id = 21030301
L4_1 = {}
L4_1.x = -213.934
L4_1.y = 123.707
L4_1.z = 103.42
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 119.493
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 20
L3_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L3_1.disableWander = true
L3_1.area_id = 103
L4_1 = {}
L4_1.config_id = 50003
L4_1.monster_id = 21010901
L5_1 = {}
L5_1.x = -225.409
L5_1.y = 126.185
L5_1.z = 113.898
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 27.558
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 20
L4_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L4_1.disableWander = true
L4_1.area_id = 103
L5_1 = {}
L5_1.config_id = 50015
L5_1.monster_id = 21010901
L6_1 = {}
L6_1.x = -224.234
L6_1.y = 126.187
L6_1.z = 110.183
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 165.274
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 20
L5_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L5_1.disableWander = true
L5_1.area_id = 103
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 50004
L2_1.gadget_id = 70950092
L3_1 = {}
L3_1.x = -235.746
L3_1.y = 120.0
L3_1.z = 102.22
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 314.149
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.area_id = 103
L3_1 = {}
L3_1.config_id = 50005
L3_1.gadget_id = 70950092
L4_1 = {}
L4_1.x = -213.15
L4_1.y = 120.0
L4_1.z = 103.005
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 311.327
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.area_id = 103
L4_1 = {}
L4_1.config_id = 50006
L4_1.gadget_id = 70290059
L5_1 = {}
L5_1.x = -224.313
L5_1.y = 120.0
L5_1.z = 114.102
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 103
L5_1 = {}
L5_1.config_id = 50007
L5_1.gadget_id = 70950087
L6_1 = {}
L6_1.x = -237.311
L6_1.y = 120.0
L6_1.z = 105.871
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 201.162
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 103
L6_1 = {}
L6_1.config_id = 50008
L6_1.gadget_id = 70950087
L7_1 = {}
L7_1.x = -211.139
L7_1.y = 120.0
L7_1.z = 107.624
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 196.466
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 103
L7_1 = {}
L7_1.config_id = 50009
L7_1.gadget_id = 70290060
L8_1 = {}
L8_1.x = -231.065
L8_1.y = 124.319
L8_1.z = 107.411
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 313.734
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 103
L8_1 = {}
L8_1.config_id = 50010
L8_1.gadget_id = 70290060
L9_1 = {}
L9_1.x = -218.547
L9_1.y = 124.224
L9_1.z = 107.819
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 221.702
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 103
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1050012
L2_1.name = "ANY_GADGET_DIE_50012"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_50012"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_50012"
L3_1 = {}
L3_1.config_id = 1050013
L3_1.name = "ANY_GADGET_DIE_50013"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_50013"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_50013"
L4_1 = {}
L4_1.config_id = 1050014
L4_1.name = "ANY_MONSTER_DIE_50014"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_50014"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_50014"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "GroupCompletion"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "remainingHeat"
L3_1.value = 3
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 3
L4_1.name = "wave"
L4_1.value = 0
L4_1.no_refresh = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 50011
L3_1.gadget_id = 70360001
L4_1 = {}
L4_1.x = -225.256
L4_1.y = 126.065
L4_1.z = 115.912
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = GadgetState
L4_1 = L4_1.ChestLocked
L3_1.state = L4_1
L3_1.isOneoff = true
L3_1.persistent = true
L3_1.area_id = 103
L2_1[1] = L3_1
L1_1.gadgets = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 2
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 50001
L5_1 = 50002
L6_1 = 50003
L7_1 = 50015
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 50004
L5_1 = 50005
L6_1 = 50006
L7_1 = 50007
L8_1 = 50008
L9_1 = 50009
L10_1 = 50010
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_50012"
L5_1 = "ANY_GADGET_DIE_50013"
L6_1 = "ANY_MONSTER_DIE_50014"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 50004 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_50012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 50009
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_50012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 50005 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_50013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 50010
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_50013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCountByGroupId
  L3_2 = A0_2
  L4_2 = 144004050
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_50014 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 50011
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_50014 = L1_1
